// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.ExpertProjectDao;
import com.liuxinlong.modules.entity.ExpertProject;
import com.liuxinlong.modules.mapper.ExpertProjectMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年3月8日
 */
@Service
public class ExpertProjectDaoImpl extends ServiceImpl<ExpertProjectMapper, ExpertProject>
        implements ExpertProjectDao {

    @Override
    public List<ExpertProject> pageProjectList(Map<String, Object> queryParam) {
        return baseMapper.pageProjectList(queryParam);
    }

    @Override
    public int getProjectCount(Map<String, Object> queryParam) {
        return baseMapper.getProjectCount(queryParam);
    }

    @Override
    public List<ExpertProject> getProjectList() {
        return baseMapper.getProjectList();
    }

    @Override
    public ExpertProject getProjectBySn(String projectSn) {
        return baseMapper.getProjectBySn(projectSn);
    }

    @Override
    public Map<String, Map<String, String>> getProjectMap() {
        return baseMapper.getProjectMap();
    }

    @Override
    public Map<String, Object> queryProjectSummary(Map<String,Object> queryParam) {
        return baseMapper.queryProjectSummary(queryParam);
    }

    @Override
    public List<ExpertProject> getProjectListByTime(Map<String, Object> queryParam) {
        return baseMapper.getProjectListByTime(queryParam);
    }

    @Override
    public List<ExpertProject> getAvailableProject() {
        return baseMapper.getAvailableProject();
    }
}
